package br.com.actionsystem.gdp.modelo;

import java.util.Calendar;

public enum Periodo {
	SEMANAL,  MENSAL, ANUAL;
public int caledar;
    private Periodo() {
         switch(this.ordinal()){
             case 0 : caledar = Calendar.WEEK_OF_YEAR;break;
             case 1 : caledar = Calendar.MONTH;break;
             case 2 : caledar = Calendar.YEAR;break;
              default: caledar = 0;
         }
    }
}
